arm/percpu: Move {get,set}_processor_id() into current.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jul 2019 19:41:03 +0000 (20:41 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 7 Aug 2019 13:06:28 +0000 (14:06 +0100)
commit8a3d7a321554b7a10b97c1fd3cc70aea2151ddc1
treef656336dae8b566885d87b63f1c50db90d6a72c6
parent50feecdc09dec9b98dd2f097d3e15a5022e7fda0
arm/percpu: Move {get,set}_processor_id() into current.h

For cleanup purposes, it is necessary for asm/percpu.h to not use
DECLARE_PER_CPU() itself.  asm/current.h is arguably a better place for this
functionality to live anyway.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/current.h
xen/include/asm-arm/percpu.h